home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.sustworks.com 2018
/
ftp.sustworks.com.zip
/
ftp.sustworks.com
/
IPNetSentry_12.hqx
/
IPNetSentry_12
/
IPNetSentry AppleScripts
/
IPNS OE AppleScript
< prev
next >
Wrap
Text File
|
2000-12-21
|
865b
|
24 lines
-- first get the trigger info from IPNetSentry
tell application "IPNetSentry.PPC"
set theTriggerIPAddress to triggeripaddress
set theTriggerPort to triggerport
set theTriggerProtocol to triggerprotocol
set theTriggerService to triggerservice
set theTriggerTime to triggertime
set theTriggerDate to triggerdate
set myNotification to "IPNetSentry trigger
Remote IP Address: " & theTriggerIPAddress & "
Port: " & theTriggerPort & "
Protocol: " & theTriggerProtocol & "
Service: " & theTriggerService & "
Time: " & theTriggerTime & "
Date: " & theTriggerDate
end tell
-- now send it to us via Outlook Express
tell application "Outlook Express"
set rcp to "TO_EMAIL_ADDRESS"
set sbj to "IPNetSentry Trigger Alert"
set msg to myNotification
set theMsg to make new draft window with properties {to recipients:rcp, subject:sbj, content:msg}
send theMsg
end tell